package com.sdry.entity;

import java.util.ArrayList;
import java.util.List;

public class PartStoreExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PartStoreExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andLocationidIsNull() {
            addCriterion("locationId is null");
            return (Criteria) this;
        }

        public Criteria andLocationidIsNotNull() {
            addCriterion("locationId is not null");
            return (Criteria) this;
        }

        public Criteria andLocationidEqualTo(Long value) {
            addCriterion("locationId =", value, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidNotEqualTo(Long value) {
            addCriterion("locationId <>", value, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidGreaterThan(Long value) {
            addCriterion("locationId >", value, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidGreaterThanOrEqualTo(Long value) {
            addCriterion("locationId >=", value, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidLessThan(Long value) {
            addCriterion("locationId <", value, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidLessThanOrEqualTo(Long value) {
            addCriterion("locationId <=", value, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidIn(List<Long> values) {
            addCriterion("locationId in", values, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidNotIn(List<Long> values) {
            addCriterion("locationId not in", values, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidBetween(Long value1, Long value2) {
            addCriterion("locationId between", value1, value2, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationidNotBetween(Long value1, Long value2) {
            addCriterion("locationId not between", value1, value2, "locationid");
            return (Criteria) this;
        }

        public Criteria andLocationnameIsNull() {
            addCriterion("locationName is null");
            return (Criteria) this;
        }

        public Criteria andLocationnameIsNotNull() {
            addCriterion("locationName is not null");
            return (Criteria) this;
        }

        public Criteria andLocationnameEqualTo(String value) {
            addCriterion("locationName =", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameNotEqualTo(String value) {
            addCriterion("locationName <>", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameGreaterThan(String value) {
            addCriterion("locationName >", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameGreaterThanOrEqualTo(String value) {
            addCriterion("locationName >=", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameLessThan(String value) {
            addCriterion("locationName <", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameLessThanOrEqualTo(String value) {
            addCriterion("locationName <=", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameLike(String value) {
            addCriterion("locationName like", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameNotLike(String value) {
            addCriterion("locationName not like", value, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameIn(List<String> values) {
            addCriterion("locationName in", values, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameNotIn(List<String> values) {
            addCriterion("locationName not in", values, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameBetween(String value1, String value2) {
            addCriterion("locationName between", value1, value2, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnameNotBetween(String value1, String value2) {
            addCriterion("locationName not between", value1, value2, "locationname");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingIsNull() {
            addCriterion("locationNumbering is null");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingIsNotNull() {
            addCriterion("locationNumbering is not null");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingEqualTo(String value) {
            addCriterion("locationNumbering =", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingNotEqualTo(String value) {
            addCriterion("locationNumbering <>", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingGreaterThan(String value) {
            addCriterion("locationNumbering >", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingGreaterThanOrEqualTo(String value) {
            addCriterion("locationNumbering >=", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingLessThan(String value) {
            addCriterion("locationNumbering <", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingLessThanOrEqualTo(String value) {
            addCriterion("locationNumbering <=", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingLike(String value) {
            addCriterion("locationNumbering like", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingNotLike(String value) {
            addCriterion("locationNumbering not like", value, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingIn(List<String> values) {
            addCriterion("locationNumbering in", values, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingNotIn(List<String> values) {
            addCriterion("locationNumbering not in", values, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingBetween(String value1, String value2) {
            addCriterion("locationNumbering between", value1, value2, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationnumberingNotBetween(String value1, String value2) {
            addCriterion("locationNumbering not between", value1, value2, "locationnumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingIsNull() {
            addCriterion("locationXiaoNumbering is null");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingIsNotNull() {
            addCriterion("locationXiaoNumbering is not null");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingEqualTo(String value) {
            addCriterion("locationXiaoNumbering =", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingNotEqualTo(String value) {
            addCriterion("locationXiaoNumbering <>", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingGreaterThan(String value) {
            addCriterion("locationXiaoNumbering >", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingGreaterThanOrEqualTo(String value) {
            addCriterion("locationXiaoNumbering >=", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingLessThan(String value) {
            addCriterion("locationXiaoNumbering <", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingLessThanOrEqualTo(String value) {
            addCriterion("locationXiaoNumbering <=", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingLike(String value) {
            addCriterion("locationXiaoNumbering like", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingNotLike(String value) {
            addCriterion("locationXiaoNumbering not like", value, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingIn(List<String> values) {
            addCriterion("locationXiaoNumbering in", values, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingNotIn(List<String> values) {
            addCriterion("locationXiaoNumbering not in", values, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingBetween(String value1, String value2) {
            addCriterion("locationXiaoNumbering between", value1, value2, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andLocationxiaonumberingNotBetween(String value1, String value2) {
            addCriterion("locationXiaoNumbering not between", value1, value2, "locationxiaonumbering");
            return (Criteria) this;
        }

        public Criteria andShelfidIsNull() {
            addCriterion("shelfId is null");
            return (Criteria) this;
        }

        public Criteria andShelfidIsNotNull() {
            addCriterion("shelfId is not null");
            return (Criteria) this;
        }

        public Criteria andShelfidEqualTo(Long value) {
            addCriterion("shelfId =", value, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidNotEqualTo(Long value) {
            addCriterion("shelfId <>", value, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidGreaterThan(Long value) {
            addCriterion("shelfId >", value, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidGreaterThanOrEqualTo(Long value) {
            addCriterion("shelfId >=", value, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidLessThan(Long value) {
            addCriterion("shelfId <", value, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidLessThanOrEqualTo(Long value) {
            addCriterion("shelfId <=", value, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidIn(List<Long> values) {
            addCriterion("shelfId in", values, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidNotIn(List<Long> values) {
            addCriterion("shelfId not in", values, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidBetween(Long value1, Long value2) {
            addCriterion("shelfId between", value1, value2, "shelfid");
            return (Criteria) this;
        }

        public Criteria andShelfidNotBetween(Long value1, Long value2) {
            addCriterion("shelfId not between", value1, value2, "shelfid");
            return (Criteria) this;
        }

        public Criteria andModelidIsNull() {
            addCriterion("modelId is null");
            return (Criteria) this;
        }

        public Criteria andModelidIsNotNull() {
            addCriterion("modelId is not null");
            return (Criteria) this;
        }

        public Criteria andModelidEqualTo(Long value) {
            addCriterion("modelId =", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotEqualTo(Long value) {
            addCriterion("modelId <>", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidGreaterThan(Long value) {
            addCriterion("modelId >", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidGreaterThanOrEqualTo(Long value) {
            addCriterion("modelId >=", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLessThan(Long value) {
            addCriterion("modelId <", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidLessThanOrEqualTo(Long value) {
            addCriterion("modelId <=", value, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidIn(List<Long> values) {
            addCriterion("modelId in", values, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotIn(List<Long> values) {
            addCriterion("modelId not in", values, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidBetween(Long value1, Long value2) {
            addCriterion("modelId between", value1, value2, "modelid");
            return (Criteria) this;
        }

        public Criteria andModelidNotBetween(Long value1, Long value2) {
            addCriterion("modelId not between", value1, value2, "modelid");
            return (Criteria) this;
        }

        public Criteria andLocationremarkIsNull() {
            addCriterion("locationRemark is null");
            return (Criteria) this;
        }

        public Criteria andLocationremarkIsNotNull() {
            addCriterion("locationRemark is not null");
            return (Criteria) this;
        }

        public Criteria andLocationremarkEqualTo(String value) {
            addCriterion("locationRemark =", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkNotEqualTo(String value) {
            addCriterion("locationRemark <>", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkGreaterThan(String value) {
            addCriterion("locationRemark >", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkGreaterThanOrEqualTo(String value) {
            addCriterion("locationRemark >=", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkLessThan(String value) {
            addCriterion("locationRemark <", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkLessThanOrEqualTo(String value) {
            addCriterion("locationRemark <=", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkLike(String value) {
            addCriterion("locationRemark like", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkNotLike(String value) {
            addCriterion("locationRemark not like", value, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkIn(List<String> values) {
            addCriterion("locationRemark in", values, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkNotIn(List<String> values) {
            addCriterion("locationRemark not in", values, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkBetween(String value1, String value2) {
            addCriterion("locationRemark between", value1, value2, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationremarkNotBetween(String value1, String value2) {
            addCriterion("locationRemark not between", value1, value2, "locationremark");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleIsNull() {
            addCriterion("locationPeople is null");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleIsNotNull() {
            addCriterion("locationPeople is not null");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleEqualTo(String value) {
            addCriterion("locationPeople =", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleNotEqualTo(String value) {
            addCriterion("locationPeople <>", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleGreaterThan(String value) {
            addCriterion("locationPeople >", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleGreaterThanOrEqualTo(String value) {
            addCriterion("locationPeople >=", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleLessThan(String value) {
            addCriterion("locationPeople <", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleLessThanOrEqualTo(String value) {
            addCriterion("locationPeople <=", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleLike(String value) {
            addCriterion("locationPeople like", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleNotLike(String value) {
            addCriterion("locationPeople not like", value, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleIn(List<String> values) {
            addCriterion("locationPeople in", values, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleNotIn(List<String> values) {
            addCriterion("locationPeople not in", values, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleBetween(String value1, String value2) {
            addCriterion("locationPeople between", value1, value2, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationpeopleNotBetween(String value1, String value2) {
            addCriterion("locationPeople not between", value1, value2, "locationpeople");
            return (Criteria) this;
        }

        public Criteria andLocationptimeIsNull() {
            addCriterion("locationPtime is null");
            return (Criteria) this;
        }

        public Criteria andLocationptimeIsNotNull() {
            addCriterion("locationPtime is not null");
            return (Criteria) this;
        }

        public Criteria andLocationptimeEqualTo(String value) {
            addCriterion("locationPtime =", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeNotEqualTo(String value) {
            addCriterion("locationPtime <>", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeGreaterThan(String value) {
            addCriterion("locationPtime >", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeGreaterThanOrEqualTo(String value) {
            addCriterion("locationPtime >=", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeLessThan(String value) {
            addCriterion("locationPtime <", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeLessThanOrEqualTo(String value) {
            addCriterion("locationPtime <=", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeLike(String value) {
            addCriterion("locationPtime like", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeNotLike(String value) {
            addCriterion("locationPtime not like", value, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeIn(List<String> values) {
            addCriterion("locationPtime in", values, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeNotIn(List<String> values) {
            addCriterion("locationPtime not in", values, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeBetween(String value1, String value2) {
            addCriterion("locationPtime between", value1, value2, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocationptimeNotBetween(String value1, String value2) {
            addCriterion("locationPtime not between", value1, value2, "locationptime");
            return (Criteria) this;
        }

        public Criteria andLocation1IsNull() {
            addCriterion("location1 is null");
            return (Criteria) this;
        }

        public Criteria andLocation1IsNotNull() {
            addCriterion("location1 is not null");
            return (Criteria) this;
        }

        public Criteria andLocation1EqualTo(String value) {
            addCriterion("location1 =", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1NotEqualTo(String value) {
            addCriterion("location1 <>", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1GreaterThan(String value) {
            addCriterion("location1 >", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1GreaterThanOrEqualTo(String value) {
            addCriterion("location1 >=", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1LessThan(String value) {
            addCriterion("location1 <", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1LessThanOrEqualTo(String value) {
            addCriterion("location1 <=", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1Like(String value) {
            addCriterion("location1 like", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1NotLike(String value) {
            addCriterion("location1 not like", value, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1In(List<String> values) {
            addCriterion("location1 in", values, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1NotIn(List<String> values) {
            addCriterion("location1 not in", values, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1Between(String value1, String value2) {
            addCriterion("location1 between", value1, value2, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation1NotBetween(String value1, String value2) {
            addCriterion("location1 not between", value1, value2, "location1");
            return (Criteria) this;
        }

        public Criteria andLocation2IsNull() {
            addCriterion("location2 is null");
            return (Criteria) this;
        }

        public Criteria andLocation2IsNotNull() {
            addCriterion("location2 is not null");
            return (Criteria) this;
        }

        public Criteria andLocation2EqualTo(String value) {
            addCriterion("location2 =", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2NotEqualTo(String value) {
            addCriterion("location2 <>", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2GreaterThan(String value) {
            addCriterion("location2 >", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2GreaterThanOrEqualTo(String value) {
            addCriterion("location2 >=", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2LessThan(String value) {
            addCriterion("location2 <", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2LessThanOrEqualTo(String value) {
            addCriterion("location2 <=", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2Like(String value) {
            addCriterion("location2 like", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2NotLike(String value) {
            addCriterion("location2 not like", value, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2In(List<String> values) {
            addCriterion("location2 in", values, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2NotIn(List<String> values) {
            addCriterion("location2 not in", values, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2Between(String value1, String value2) {
            addCriterion("location2 between", value1, value2, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation2NotBetween(String value1, String value2) {
            addCriterion("location2 not between", value1, value2, "location2");
            return (Criteria) this;
        }

        public Criteria andLocation3IsNull() {
            addCriterion("location3 is null");
            return (Criteria) this;
        }

        public Criteria andLocation3IsNotNull() {
            addCriterion("location3 is not null");
            return (Criteria) this;
        }

        public Criteria andLocation3EqualTo(String value) {
            addCriterion("location3 =", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3NotEqualTo(String value) {
            addCriterion("location3 <>", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3GreaterThan(String value) {
            addCriterion("location3 >", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3GreaterThanOrEqualTo(String value) {
            addCriterion("location3 >=", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3LessThan(String value) {
            addCriterion("location3 <", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3LessThanOrEqualTo(String value) {
            addCriterion("location3 <=", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3Like(String value) {
            addCriterion("location3 like", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3NotLike(String value) {
            addCriterion("location3 not like", value, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3In(List<String> values) {
            addCriterion("location3 in", values, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3NotIn(List<String> values) {
            addCriterion("location3 not in", values, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3Between(String value1, String value2) {
            addCriterion("location3 between", value1, value2, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation3NotBetween(String value1, String value2) {
            addCriterion("location3 not between", value1, value2, "location3");
            return (Criteria) this;
        }

        public Criteria andLocation4IsNull() {
            addCriterion("location4 is null");
            return (Criteria) this;
        }

        public Criteria andLocation4IsNotNull() {
            addCriterion("location4 is not null");
            return (Criteria) this;
        }

        public Criteria andLocation4EqualTo(String value) {
            addCriterion("location4 =", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4NotEqualTo(String value) {
            addCriterion("location4 <>", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4GreaterThan(String value) {
            addCriterion("location4 >", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4GreaterThanOrEqualTo(String value) {
            addCriterion("location4 >=", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4LessThan(String value) {
            addCriterion("location4 <", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4LessThanOrEqualTo(String value) {
            addCriterion("location4 <=", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4Like(String value) {
            addCriterion("location4 like", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4NotLike(String value) {
            addCriterion("location4 not like", value, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4In(List<String> values) {
            addCriterion("location4 in", values, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4NotIn(List<String> values) {
            addCriterion("location4 not in", values, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4Between(String value1, String value2) {
            addCriterion("location4 between", value1, value2, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation4NotBetween(String value1, String value2) {
            addCriterion("location4 not between", value1, value2, "location4");
            return (Criteria) this;
        }

        public Criteria andLocation5IsNull() {
            addCriterion("location5 is null");
            return (Criteria) this;
        }

        public Criteria andLocation5IsNotNull() {
            addCriterion("location5 is not null");
            return (Criteria) this;
        }

        public Criteria andLocation5EqualTo(String value) {
            addCriterion("location5 =", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5NotEqualTo(String value) {
            addCriterion("location5 <>", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5GreaterThan(String value) {
            addCriterion("location5 >", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5GreaterThanOrEqualTo(String value) {
            addCriterion("location5 >=", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5LessThan(String value) {
            addCriterion("location5 <", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5LessThanOrEqualTo(String value) {
            addCriterion("location5 <=", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5Like(String value) {
            addCriterion("location5 like", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5NotLike(String value) {
            addCriterion("location5 not like", value, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5In(List<String> values) {
            addCriterion("location5 in", values, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5NotIn(List<String> values) {
            addCriterion("location5 not in", values, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5Between(String value1, String value2) {
            addCriterion("location5 between", value1, value2, "location5");
            return (Criteria) this;
        }

        public Criteria andLocation5NotBetween(String value1, String value2) {
            addCriterion("location5 not between", value1, value2, "location5");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}